package com.bwc.aidemo

import android.content.Intent
import android.speech.tts.TextToSpeech
import com.bwc.aidemo.base.BaseActivity
import com.bwc.aidemo.chatting.ChattingActivity
import com.bwc.aidemo.databinding.ActivityMainBinding
import com.bwc.aidemo.paoqian.PaoqianActivity
import com.bwc.aidemo.paozhong.PaozhongActivity


//主
class MainActivity : BaseActivity<ActivityMainBinding>() {


    override fun getLayoutId(): Int {
       return R.layout.activity_main
    }

    override fun initViews() {
        dataBinding.chattingGetPlan.setOnClickListener {
            startActivity(Intent(this,ChattingActivity::class.java))
        }

        dataBinding.chattingRunningStart.setOnClickListener {
            startActivity(Intent(this,PaoqianActivity::class.java))
        }
        dataBinding.chattingRunning.setOnClickListener {
            startActivity(Intent(this,PaozhongActivity::class.java))
        }
    }

    override fun initData() {

    }
    companion object{
        val MY_DATA_CHECK_CODE = 1001
    }
}